package com.example.demo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author ZQW
 */
public class Medicalrecord extends Model<Medicalrecord> {

private static final long serialVersionUID=1L;

    /**
     * ID主键
     */
    @TableId(value = "ID", type = IdType.AUTO)
    private Integer id;

    /**
     * 病历号
     */
    @TableField("CaseNumber")
    private String CaseNumber;

    /**
     * 挂号ID
     */
    @TableField("RegistID")
    private Integer RegistID;

    /**
     * 主诉
     */
    @TableField("Readme")
    private String Readme;

    /**
     * 现病史
     */
    @TableField("Present")
    private String Present;

    /**
     * 现病治疗情况
     */
    @TableField("PresentTreat")
    private String PresentTreat;

    /**
     * 既往史
     */
    @TableField("History")
    private String History;

    /**
     * 过敏史
     */
    @TableField("Allergy")
    private String Allergy;

    /**
     * 体格检查
     */
    @TableField("Physique")
    private String Physique;

    /**
     * 检查建议
     */
    @TableField("Proposal")
    private String Proposal;

    /**
     * 注意事项
     */
    @TableField("Careful")
    private String Careful;

    /**
     * 检查结果
     */
    @TableField("CheckResult")
    private String CheckResult;

    /**
     * 诊断结果
     */
    @TableField("Diagnosis")
    private String Diagnosis;

    /**
     * 处理意见
     */
    @TableField("Handling")
    private String Handling;

    /**
     * 病历状态 1-暂存 2-已提交 3-诊毕
     */
    @TableField("CaseState")
    private Integer CaseState;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getCaseNumber() {
        return CaseNumber;
    }

    public void setCaseNumber(String CaseNumber) {
        this.CaseNumber = CaseNumber;
    }

    public Integer getRegistID() {
        return RegistID;
    }

    public void setRegistID(Integer RegistID) {
        this.RegistID = RegistID;
    }

    public String getReadme() {
        return Readme;
    }

    public void setReadme(String Readme) {
        this.Readme = Readme;
    }

    public String getPresent() {
        return Present;
    }

    public void setPresent(String Present) {
        this.Present = Present;
    }

    public String getPresentTreat() {
        return PresentTreat;
    }

    public void setPresentTreat(String PresentTreat) {
        this.PresentTreat = PresentTreat;
    }

    public String getHistory() {
        return History;
    }

    public void setHistory(String History) {
        this.History = History;
    }

    public String getAllergy() {
        return Allergy;
    }

    public void setAllergy(String Allergy) {
        this.Allergy = Allergy;
    }

    public String getPhysique() {
        return Physique;
    }

    public void setPhysique(String Physique) {
        this.Physique = Physique;
    }

    public String getProposal() {
        return Proposal;
    }

    public void setProposal(String Proposal) {
        this.Proposal = Proposal;
    }

    public String getCareful() {
        return Careful;
    }

    public void setCareful(String Careful) {
        this.Careful = Careful;
    }

    public String getCheckResult() {
        return CheckResult;
    }

    public void setCheckResult(String CheckResult) {
        this.CheckResult = CheckResult;
    }

    public String getDiagnosis() {
        return Diagnosis;
    }

    public void setDiagnosis(String Diagnosis) {
        this.Diagnosis = Diagnosis;
    }

    public String getHandling() {
        return Handling;
    }

    public void setHandling(String Handling) {
        this.Handling = Handling;
    }

    public Integer getCaseState() {
        return CaseState;
    }

    public void setCaseState(Integer CaseState) {
        this.CaseState = CaseState;
    }

    public static final String ID = "ID";

    public static final String CASENUMBER = "CaseNumber";

    public static final String REGISTID = "RegistID";

    public static final String README = "Readme";

    public static final String PRESENT = "Present";

    public static final String PRESENTTREAT = "PresentTreat";

    public static final String HISTORY = "History";

    public static final String ALLERGY = "Allergy";

    public static final String PHYSIQUE = "Physique";

    public static final String PROPOSAL = "Proposal";

    public static final String CAREFUL = "Careful";

    public static final String CHECKRESULT = "CheckResult";

    public static final String DIAGNOSIS = "Diagnosis";

    public static final String HANDLING = "Handling";

    public static final String CASESTATE = "CaseState";

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    @Override
    public String toString() {
        return "Medicalrecord{" +
        "id=" + id +
        ", CaseNumber=" + CaseNumber +
        ", RegistID=" + RegistID +
        ", Readme=" + Readme +
        ", Present=" + Present +
        ", PresentTreat=" + PresentTreat +
        ", History=" + History +
        ", Allergy=" + Allergy +
        ", Physique=" + Physique +
        ", Proposal=" + Proposal +
        ", Careful=" + Careful +
        ", CheckResult=" + CheckResult +
        ", Diagnosis=" + Diagnosis +
        ", Handling=" + Handling +
        ", CaseState=" + CaseState +
        "}";
    }
}
